package bean;

import java.sql.Connection;

public class ConnectionBean {
	private Connection con;
	private boolean busy;

	public ConnectionBean(Connection con) {
		this.con = con;
		this.busy = false;
	}

	public ConnectionBean(Connection con, boolean busy) {
		this.con = con;
		this.busy = busy;
	}

	public Connection getCon() {
		return con;
	}

	public void setCon(Connection con) {
		this.con = con;
	}

	public boolean isBusy() {
		return busy;
	}

	public void setBusy(boolean busy) {
		this.busy = busy;
	}

}
